package com.yonyou.pmclouds.plan.mapper;

import com.yonyou.pmclouds.basecom.dao.BaseMapper;
import com.yonyou.pmclouds.plan.entity.PlanWriteVO;
import org.apache.ibatis.annotations.Param;

public interface PlanWriteMapper extends BaseMapper<PlanWriteVO> {
    /**
     * 根据pkPlanWrite获取PlanWriteVO对象
     */
    PlanWriteVO queryBypkPlanWrite(@Param("pkPlanWrite")String pkPlanWrite);

    /**
     * 根据pkPlanWrite数组获取PlanWriteVO对象
     */
    PlanWriteVO[] queryByPlanWriteIds(@Param("pkPlanWrites")String[] pkPlanWrites);
    /**
     * 根据根计划ID，pkPlam查询PlanWriteVO对象
     */
    PlanWriteVO[] queryPlanByRootIds(@Param("pkPlans")String[] pkPlans);

}
